package cn.xiaou.domain;

public class UserReal {
	/*CREATE TABLE `user_real` (
			  `id` int(11) NOT NULL AUTO_INCREMENT,
			  `realname` varchar(255) DEFAULT NULL,
			  `id_card` varchar(18) DEFAULT NULL,
			  `uid` int(11) DEFAULT NULL,
			  PRIMARY KEY (`id`),
			  KEY `fk_real_user` (`uid`),
			  CONSTRAINT `fk_real_user` FOREIGN KEY (`uid`) REFERENCES `users` (`uid`)
			) ENGINE=InnoDB DEFAULT CHARSET=utf8;*/
	private Integer id;
	private String realname;
	private String id_card;
	private User user;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public String getId_card() {
		return id_card;
	}
	public void setId_card(String id_card) {
		this.id_card = id_card;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	

}
